require(['loading'], function(loading) {
	var billIndex = new Vue({
		el: '#billIndex',
		data: {
			showLoading: false,
			apiUrl: wxUrl + '/v3.3/pforder/orderNumAmount',
			item: {
				params:{
					token: token,
					userToken: userToken,
				}
			}
		},
		ready: function() {
	        this.getIndexData()
	    },
		methods: {
			getIndexData: function() {
				this.$http.get(this.apiUrl, this.item)
					.then(function(response) {
						var result = JSON.parse(response.body);
						var bills = result.data;
						console.log(bills);
						this.$set('bills', bills);
					},function(response) {
						//errorCallback
					});
			}
			
		}
	});
});